#pragma once
#include "crfHolder2.h"

class crfTestImp2
{
public:
	crfTestImp2(void);
	~crfTestImp2(void);

	void Test(char *fea_file,char* lambda_file,vector<string> testfiles,char* outfile);

	void WritetoFile(sentence& sen, vector<int>& predict_labels,double fvalue,FILE* fod);

	double *_lambda;
	int		_feature_num_all;

	memPool<char> pool_work_space;
	freelist<char> _temp_space;
	crfHolder2	   _foMst;
	memPool<char> temPool;
	TempleteFea* _temfea;

};

